| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkAstraeus::SsaoEffectUtils Class Referencefinal

Utilities that can help when using an SsaoEffect. More...

## Static Public Member Functions
static void | prepareBlendStateForAoBlending (nkGraphics::BlendState *blendState)

## Detailed Description

Utilities that can help when using an SsaoEffect.

## Member Function Documentation

## ◆ prepareBlendStateForAoBlending()

static void nkAstraeus::SsaoEffectUtils::prepareBlendStateForAoBlending | ( | nkGraphics::BlendState * | blendState | ) |
| static

Allows to setup a blend state to use with an effect for which the SsaoEffect::setOcclusionDrivesAlpha() has been set to true. This blend state can be used by using nkGraphics::PostProcessPass::setBlendState() on the pass using the effect's shader.

Parameters

  blendState | The state to setup for such a use.

Remarks
  The state won't be loaded. It is the responsibility of the client code to reload it. This way, it is possible to do some tweaking before the reload operation occurs, if required.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsAstraeus/Graphics/Effects/Ssao/SsaoEffectUtils.h